<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>打地鼠游戏</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="game-container">
        <div class="game-header">
            <div class="score-board">
                <span>得分：</span>
                <span id="score">0</span>
            </div>
            <div class="combo-display">
                <span>连击：</span>
                <span id="combo">0</span>
            </div>
            <div class="timer">
                <span>时间：</span>
                <span id="time">60</span>s
            </div>
        </div>

        <div class="game-board">
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
            <div class="hole"><div class="mole"></div></div>
        </div>

        <div class="game-controls">
            <button id="backToMenu" class="btn">返回菜单</button>
        </div>
    </div>

    <div id="gameOver" class="game-over hidden">
        <div class="game-over-content">
            <h2>游戏结束</h2>
            <p>最终得分：<span id="finalScore">0</span></p>
            <button id="restartButton" class="btn">重新开始</button>
            <button id="menuButton" class="btn">返回菜单</button>
        </div>
    </div>

    <audio id="hitSound" src="sounds/hit.mp3"></audio>
    <audio id="missSound" src="sounds/miss.mp3"></audio>
    <audio id="comboSound" src="sounds/combo.mp3"></audio>

    <script src="achievements.js"></script>
    <script src="script.js"></script>
</body>
</html>